WD-40 can be used as a chain cleaner but it IS NOT a true degreaser since it has a lubricant in it. For serious degreasing such as wanted prior to painting use a citrus degreaser and wash thoroughly after to remove all residue. I have not heard of WD-40 damaging paint but would remove any overspray reasonably promptly.