- // - Single-line Comment.
- /* */ - Multi-line Comment.
Single-line comment starts with //. Any text that starts with // (double slash) and ends in a line, will be concidered as single line comment.
Multi-line comment start with /* and ends with */. It can go on multiple lines.
Any number of comments can be placed anywhere in the program.