Paint will help keep the pipe from degrading from the UV. On the negative side, if you ever have to cut in to replace a fitting, the paint is ~hard to fully get off. However, I'd paint any PVC that is in full sun most of the day