In your post you mentioned 'Where the paintwork meets the fretboard edge' and this tends to suggest a rosewood fret board as I cannot envisage a painted neck with a maple board as most people would just go with the one overall maple look instead?
They are pretty easy to mask up, just need a really good tape that will hang on for a while and not leave any residue. For rosewood mask right up to the line where it meets the maple of the neck. Sure it will leave a bit of a line once removed but that comes out with the final wet sanding before polishing, and if you use wax to seal the fret board that can also be rubbed into the edges where it meets the maple neck. Should come up a real treat without too much effort.
Maple fret boards may be a bit more tricky depending on how you intend to finish between the frets and how far up the edges do you want your finish? Same thing overall in that you tape off to where you want the finish to end and where you will treat the actual fret board. Some people use wax, oils, or even lacquer type stuff, all up to personal preference.