Fix format_loc for inline comments