I did mine recently but I took them them off because I had to do replace a brake line that was worn and a caliper had siezed. Made it a lot easier IMO.
What I did though was clean them off with a wire wheel brush first to help the paint mate better.
Caliper before:
After partial cleaning:
Taped off:
During Painting:
Post painting:
Through the wheels: