### Godot version

v4.0.stable.official [92bee43ad]

### System information

Windows 10

### Issue description

This Godot 3 line

```gdscript
assert(r.hash() == {"a":1, "b":2}.hash())
```

was converted to this:

```gdscript
assert(r.hash() == {"a":1) #,"b":2}.hash())
```

For some reason `) #` is added after `1`.

### Steps to reproduce

Just converting Godot 3 project containing the line to Godot 4.

### Minimal reproduction project

N/A
} else if (file_name.ends_with(".csproj")) {
				
			} else if (file_name.ends_with(".import")) {
				for (SourceLine &source_line : source_lines) {
					String &line = source_line.line;
					if (line.contains("nodes/root_type=\"Spatial\"")) {
						line = "nodes/root_type=\"Node3D\"";
					} else if (line == "importer=\"ogg_vorbis\"") {
						line = "importer=\"oggvorbisstr\"";
					}
				}
			} else {
				ERR_PRINT(file_name + " is not supported!");
				continue;
			}
			for (SourceLine &source_line : source_lines) {
				if (source_line.is_comment) {
					continue;
				}
				String &line = source_line.line;
				if (uint64_t(line.length()) > maximum_line_length) {
					ignored_lines += 1;
				}
			}
		} else {
			reason.append(vformat("    ERROR: File has exceeded the maximum size allowed - %d KB", maximum_file_size / 1024));
			is_ignored = true;
		}
		uint64_t end_time = Time::get_singleton()->get_ticks_msec();
		if (is_ignored) {