As of UltraEdit v24.20.0.40 and UEStudio v17.20.0.10, you can delete blank lines by going to the Edit tab and clicking Delete » Delete all empty lines.