Comments in computer language files are text that does not belong to the computer language itself and thus have no influence over the program execution, but provide a textual description of elements and constructs used in the program. Comments help the reader to understand your program.
Everything starting with a double slash // (not inside a string literal) to the end of the line is a comment.
Everything starting with a /* and ending with a */ (both not inside a string literal) ...