It's not dangerous that's for sure. It may not be advisable though. I've found over the years that WD40 will attack some synthetic materials such as 'O' rings and also some paint finishes.
I'm not a...