High humidity shouldn't be an issue for the snake, but it could be bad for any humidity sensitive items in the closet (assuming that the snake cage is raising the humidity in the closet)
If the closet is closed all the time and has a noticeable smell when you open it I would reconsider housing the snake there.