Citing Texts in Fiction

Are there standards for citing other texts in a work of fiction? For instance, if there was a scene where a class is doing a line-by-line analysis of Deor’s Lament, how would I cite/format that? Or maybe if someone’s singing along to The Night by Avicii on the radio as the scene goes? It feels awful to do any in-text citation, since it breaks any story immersion I have.