Your question does not make sense. After reading "//", he must continue reading in a new line to find it. It has no choice. There is no other way to find a new line.
Compilation conceptually has several phases, logically before parsing:
- Scanning.
- Screening.
- tokenization.
(1) .
(2) , . / .
(3) , , . , , , .
(2). .