Updated: 08/16/2021 by Computer Hope

A comment may refer to any of the following:

HTML comment tag

1. A comment is text in a program's code, script, or another file that is not meant to be seen by the user running the program. However, is seen when viewing the source code.

Comments help make code easier to understand by explaining what is happening and help prevent portions of a program from executing. The image is an example of an HTML comment. See our nonexecutable statement page for a full definition and further examples of comments in programming.

What is comment out?

When writing or editing code to help fix a problem or debug, the programmer may comment out one or more lines. After a line is commented out, it's skipped the next time the code is executed. If, after commenting out code the problem is fixed, it helps give the programmer an idea of where the problem in the code exists.

2. Hidden text in Microsoft Excel that enables users to make comments about cells and their values.

3. In general, a comment is a remark, suggestion, or another form of feedback about a product or service. If you would like to give Computer Hope a comment, contact customer service.

Business terms, Feedback, Next comment, Nonexecutable statement, Pod, Previous comment, Programming terms, Remark