A comment is a remark from programmer to the reader of the program. Comments are simply ignored by the compilers.
1) Multi line comments: This type of commenting is used when the comments are in multiple lines.
Example of a Multi line comment
You can enter any number of lines of comments here.
2) Single line comment: This type of commenting is used when you want to put comments in a single line.
// This is a single line comment.