<?php //A comment on a single line
#Another single line comment
/*
Using this method
you can create a larger block of text
and it will all be commented out
*/
?>
One reason you may want to put a comment in your code is to make a note to yourself about what the code is doing for reference when you edit it later. You may also want to put comments in your code if you plan on sharing it with others and want them to understand what it does, or to include your name and terms of use within the script.



