In reply to aashishs2603:
- Yes, the compiler reads text line-by-line, or more succinctly character-by-character.
- This style of compile guards is mostly unnecessary in SystemVerilog. See system verilog - Include guards in SystemVerilog - Stack Overflow