The neutral is at the light fixture.
The light in the switch is across the terminals of the switch. When the switch is off there is voltage from the hot through the switch-light and to neutral through the light fixture. The light fixture draws enough current to excite the neon in a small bulb but the current is limited. There is often a resistor in series with the small neon bulb.
The switch light goes out when the switch is on.