folding: don't fold on lines matching `^#` if the previous line is not empty

Fixes issue #102 for basic folding.