I am just going to state my opinion.

Unless the candle is very close to the snake, within a couple feet, I see no problem. It's probably not a great idea to do it constantly, but on occasion I don't see why it would be a problem.