Not all singers lose their accent when singing. But some are able to sing like their favorites/influences that may not have an accent to begin with. Also, when you’re singing you often pronounce words differently than when you’re speaking. The way in which you pronounce the sung word can make it seem like you no longer have an accent.