It is possible to add comments to your PHP code. PHP supports both single-line and multi-line comment blocks.
There are two types of comments:
Single-line: Type two forward slashes (//) followed by the text comprising the comment.
Multi-line: Type a slash-asterisk (/*) to start the comment and an asterisk-slash (*/) to end the comment.
Example
<?php
// This is a single-line comment
/* This is a
multi-line
comment */
?>
Blank lines within the PHP tags are ignored by the parser. Everything outside the tags is also ignored by the parser, and returned "as-is". Only code between the tags is read and executed.