There are hypnosis aids that claim that they can help you ignore snoring. They claim to be able to help you  "switch off" even if there is loud snoring and to help your brain process the snoring sound so you can ignore snoring and drift off into a deep sleep.