Hold Power button for 20–30 seconds
Turn it back on
Turn off device
Hold Volume Up + Power
If lines appear in UEFI also → likely hardware issue (screen or cable)
If UEFI looks normal → probably driver/software issue
Boot into Safe mode and check if the line appears there.
Go to:
Settings → Windows Update → Check updates
Surface devices use custom drivers, so updates come via Windows Update.