Commenting code
Commenting code is a useful debugging technique and commenting helps you remember what you did and why. Commenting code tends to be better organized too. Comments are typed between <!--- comment ---> tags.
When you are testing code and need to eliminate specific lines, comment them out temporarily by wrapping them with <--- comment ---> tags.
Comments should never be nested and should never be mismatched (such as having a starting tag without an end tag, or vice versa).
Coldfusion uses: <!--- comment ---> to delimit comments.
HTML uses: <!-- comment --> two hyphens instead of three.
When someone view your source code, ColdFusion comments are not visible but HTML comments are.
Within ColdFusion code, always use ColdFusion comments and not HTML comments.
Commenting code is also a useful debugging technique.
Just wrapping the code you temporarily eliminate within the comment tags. <!--- code --->
Advertisement
No User Comments.
No User Comments, be the first one to write your comments?


