How do you remove blank lines in SharePoint Designer?
1. Select / highlight 4 blank rows (select more or less depending on how many you want to delete).
2. Ctrl+H (Edit –> Replace)
3. Replace All
You might have to perform this more than once to truncate all the blank rows.
My .aspx grew from ~1,000 rows to over 300,000 rows. Why? I’ll assume it had something to do with the Data View web part.