hope this fix your issue Time ago, something like that happens to me. The reason was the differents EOL characters between platforms (Windows and Linux, in my case). The code I edited locally was transformed into one single line of code when uploaded, and the // comments breaks the code after them.
PHP : echo wordpress comments link and comments number on a href
With these it helps I tried the search but did not get the complete answer to my question. I build a WordPress website with redux framework options panel and need switch on/off the option to hide meta info on WordPress posts. , It should be like this: