Here's what makes alliteration:
* Repetition of consonant sounds at the beginning of words. This can happen in a single line, a whole stanza, or throughout an entire poem.
Examples:
* One line: "Peter Piper picked a peck of pickled peppers."
* Several lines:
"The whispering willows weep
With weary, windblown leaves."
* A whole poem: "The Raven" by Edgar Allan Poe uses alliteration throughout, but the poem has many lines.
So, the number of lines in an alliteration poem depends entirely on the poet's intention and the poem's overall structure.