Select the Delete Folded Lines item in the Fold menu to delete all lines in the current selection that were made invisible by folding them.
Fold menu Fold|Copy Visible Lines Search|Fold Lines File Type|Navigation