Generally, paint does not adhere to plastic as well as a good glue joint, so put down the deck on unpainted surface.
But, on some kits, the wooden deck does not cover 100% of the deck area- some plastic areas do show through on those. Mask off deck so only those areas that need paint get painted. The glue bond areas should be unpainted.