+ 2
If whitespace is ignored, why can comments be ended with a line break?
3 Respostas
+ 9
The compiler checks your code line by line. The comments are identified in the process and ignored.
https://www.sololearn.com/Discuss/625801/?ref=app
+ 7
all characters are ignored till the compiler finds the end comments character
https://en.m.wikipedia.org/wiki/Comment_(computer_programming)
Comment (computer programming) - Wikipedia
https://www.quora.com/How-exactly-does-the-compiler-deal-with-comments-in-code-specifically
How exactly does the compiler deal with comments in code - Quora
+ 1
Thank you guys!