I wouldn't bother masking. I wouldn't purposefully put paint in the slot, either, but I do prefer the priming/paint to continue around the board edge, just for continuity's sake. The edge is going to be covered by the t-molding anyway, so it doesn't have to be pretty, it just needs to be complete.