This was requested long ago but was not possible. With release milestone 7.1.4, the microsoft JDBC driver enhanced the error reporting api's on the driver.
As such, the driver now supports obtaining the line number in which the error occurred, among other information.
Please enhance MSSQL support when using the official Microsoft JDBC driver to display and highlight error locations
Thanks for the heads up. I will open a ticket.