A comment is the portion of a program that exists only for making code more readable and is ignored by the PHP parsing engine.
Single-line comment begin with two slashes (//) or a hash symbol (#)
<?php // this is a single line comment (C++ style) # this is also a single comment (Unix Shell style) echo "PHP single line comments Example"; ?>
The multiple line PHP comments are enclosed within /* */
;
<?php /* This is a multiline comment Lautturi.com */ echo "PHP Multi lines comments Example"; ?>