WD-40 doesn't seem like it would be a very good cleaner. I use kerosen myself for this type of work.
WD-40 works really well, but at $20/gal it costs about 10x more than kerosene. It's a mix of light machine oil and mineral spirits, so the metal isn't left entirely bare when it dries.