The single line comment begins with “//” or “#”. When encountered, all text to the right will be ignored by the PHP interpreter.

// This is a comment

# This is also a comment

echo "Hello World!"; // This is also a comment, beginning where we see "//"