Here is the image of the option window with the Line Number Checked correctly
SQL Server 2017 Express Edition Windows 10 64 bits Following the below path Tools --> Options --> Text Editor --> Plain Text --> Line Number I tried multiple times shutting down the system, not sure what I'm missing here.