A comment may refer to any of the following:
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, Google Sheets, and other spreadsheet software that enables users to make comments about cells and their values. Cells with comments have a color corner in the top-right corner of the cell.
Microsoft Excel comments are not the same as notes.
3. Generally, a comment is a remark, suggestion, or feedback about a product or service. To give Computer Hope a comment, contact customer service.