- The compiler reached the end of the file while scanning a comment.
- The code may be missing a closing comment marker */
How to fix it ?
- Be sure to terminate multi-line comments with “*/”
/* comment */
- Single line comment does not need to terminate, and it starts by a double slash (//)
- multiple line comment needs to be terminated by */ (asterisk and slash).
- Comments are ignored by the compiler.