i have been painting parts while they are still on the sprue, but i dont really like it as the parts usually ghet dirty again after handling them and putting them togeter. and u have to touch the paint up later, and also its pretty hard to clean a part up while its on th sprue,,, from now on i take parts off the sprue, put togeter what i can, then paint.
its a matter of prefernce tho, just see which mnethod u like best.
ps. small parts which i have no way to hold stay on the sprue tho....