correct end offset calculation when startSymbol == endSymbol
ignore // interpolation start/end
#WEB-12149 fixed
WEB-12215 Reformat code adds a newline between function and documentation comment