Ctrl D is the shortcut for “delete” in Illustrator. To use it, press the key and then click on the line you want to delete.