If you want to remove a line from a shape in Illustrator, you can use the Pen tool (P) and select the line you want to delete. Then, click the Delete button (X) in the toolbar. ..