The black line that you are seeing is called the "paragraph border" and it indicates the boundaries of the paragraph that your cursor is currently in. If you want to get rid of it, here's what you can do:
- Click on the "Home" tab in the ribbon at the top of the screen.
- Look for the "Paragraph" section and click on the small arrow in the bottom right corner of the section to open the "Paragraph" dialog box.
- In the "Paragraph" dialog box, click on the "Borders" tab.
- Under "Setting," select "None" to remove the border from the paragraph.
- Click "OK" to close the dialog box.
Alternatively, you can also use the keyboard shortcut
"Ctrl + Shift + 8" to toggle the paragraph border on and off.