Comment out code in php file.
If you need to comment out something in the php coding. Normally used when editing functions.php.
But please only EDIT functions.php file if you have a chile theme. In other words ONLY edit the functions.php file in the child theme NOT your main theme file.
Add this to either side of code you want commented out:
<?php /*the code */ ?/