Updated answer:
Go to Preferences
→ Editor
→ General
→ Appearance
and uncheck Show hard wrap and visual guides
.
Original answer:
Go to Settings
→ Editor
→ General
→ Appearance
and uncheck Show Right Margin
.
You can also configure where the right margin is in the code style settings.