Vocal comping

Hi!
-I do vocal comping by picking out different parts of vocal on different lines.
How can I remove unused lines when it comped by one click? There must be option or function for this I guess.

See how I do it manually. It takes time!