Comments can be used to annotate your script and to disable segments of code. Use them liberally. They are particularly helpful if you expect more than one person to participate in scripting or debugging.

Comments begin with:


and end with:


For example:

     <!-- this is where the user is asked for their email address  -->



In the second case, the code within the comment will not be executed.

Note that two hyphens in a row (–) may ONLY be used to denote comments.

%d bloggers like this: