// This is an end line comment. // Everything following the slashes until end of line is a comment. integer count = 0; // Comment can follow the code /* This is a multiline comment. Everything between starting and ending symbol is a comment. */
Comments are lines or parts of lines not being processed. They serve to describe what happens within the program or to disable program statements.
The comments are of two types - end of line comments or multiline comments. See the following two options: