(I do not own a reptile, I'm just researching and asking questions before I own one)

My room gets extremely bright in the day and extremely dark in the night, but one thing that never goes off when it's starting to get dark is my night light. It's essential to my health that it remains on all night until I wake up. To prevent stressing a snake out, can you just throw a towel over their cage so that they can't see it?