Do white noise machines affect your hearing if you use them nightly for decades?

Shouldn't. Although it is possible if you had the machine up very loud. At average volume settings there should be very little, if any, risk of hearing loss.