1. Put the cursor on the desired line.
2. Use Edit --> Delete Current Line command from the top menu;
Or, press Ctrl+D to remove the highlighted line from the file.