Problem scenario
You want to try some .php scripts or web pages without certain lines of code. How do you comment out an individual line?
Solution
Use this at the beginning of a line of code: //
Example: //this text will do nothing in the .php script
To comment out multiple lines, use this at the beginning of the first line: /*
Then conclude the multi-line comment with this:
…