We add code comments to our php scripts to:
1. Remind us what our code sections are doing long after we have created them
2. In good HTML editors it makes a nice colored divider between code sections
3. Place author name and script creation date information
4. Make it easier for other developers and programmers to adapt and work with your code
Commented lines do not get processed by the browser or PHP. They get skipped over like they do not exist. They are made only for human reading.
Here are the different ways you can place comments in your scripts: