Display Line Numbers in a SQL Server Management Studio Query Window

Often we see an error message from SQL Server which references a particular line number within our T-SQL code. It is a little frustrating to find the line number where the syntax error has occurred.