### 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
}
		}
		current_line++;
	}
	return found_renames;
}
void ProjectConverter3To4::rename_input_map_scancode(Vector<SourceLine> &source_lines, const RegExContainer &reg_container) {
	// 
	const int old_spkey = (1 << 24);
	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) {
			TypedArray<RegExMatch> reg_match = reg_container.input_map_keycode.search_all(line);
			for (int i = 0; i < reg_match.size(); ++i) {
				Ref<RegExMatch> match = reg_match[i];
				PackedStringArray strings = match->get_strings();
				int key = strings[3].to_int();
				if (key & old_spkey) {
					// 
					key = (key & ~old_spkey) | (int)Key::SPECIAL;
					line = line.replace(strings[0], String(",\"") + strings[1] + "scancode\":" + String::num_int64(key));
				}
			}
		}
	}
}
void ProjectConverter3To4::rename_joypad_buttons_and_axes(Vector<SourceLine> &source_lines, const RegExContainer &reg_container) {