You can fold/collapse lines in vim. Let's say you do it manually, do
Then highlight the lines you want to fold. Then press
zf. You can open and close folds with
But the line vim gives you is an ugly light grey colour. You can change this to black via
:hi Folded ctermbg=black.
cterm since I'm using the text console. Otherwise I'd use guiterm