How modern Chinese singing works if Chinese has tones
Short answer: Simply speaking, remove all the original tones of each character and follow the tune of the music. Yes it is hard to recognize if you never read the lyrics before, even for native speakers.