I wonder about using the reflex optics on a compensated pistol myself but without trying it first & seeing what the powder blast does to the sights who knows could be the Bee's Knees..
Welcome to the Forum Bigjim874
This is without a doubt the best S&W Forum out there..
I've had a PC for 4 years now, no soot whatsoever on the front sight, so I wouldn't worry about any problems having a dot on it.
They aren't really "compensated" pistols, just two tiny ports on the barrel that don't cause issues like fully compensated pistols.