Comments in PHP Code

A comment is using to note a short description about the working flow of the program or hide some unwanted code for special purposes . Commented code couldn’t execute or do anything in the part of the program.
we can use // for a single-line comment or /* and */ for a large comment block.

Single line PHP Comment
<?php
// echo “Welcome to the PHP World”;
?>
Multiple line PHP Comment
<?php
/* echo “Welcome to the PHP World”;
echo “Welcome to the PHP World”; */
?>