The line that best exemplifies alliteration is:
"While I nodded, nearly napping, suddenly there came a tapping."
This line uses the repetition of the initial consonant sound with the words "nodded," "nearly," and "napping," making it a clear example of alliteration.