You'd typically mask off the top of the fretboard, but a lot of guitars have clear lacquer on the sides of the fretboard. As you have noted, it stops you having a step on the side of the neck, which is most off-putting in the hand.