### 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
int button_index_value = strings[1].to_int();
				if (button_index_value == 6) { // 
					found_renames.append(line_formatter(current_line, "InputEventJoypadButton", "InputEventJoypadMotion", line));
					found_renames.append(line_formatter(current_line, button_index_entry, ",\"axis\":4", line));
				} else if (button_index_value == 7) {
					found_renames.append(line_formatter(current_line, "InputEventJoypadButton", "InputEventJoypadMotion", line));
					found_renames.append(line_formatter(current_line, button_index_entry, ",\"axis\":5", line));
				} else if (button_index_value < 22) { // 
					found_renames.append(line_formatter(current_line, "\"button_index\":" + strings[1], "\"button_index\":" + String::num_int64(reg_container.joypad_button_mappings[button_index_value]), line));
				}
			}
			// 
			reg_match = reg_container.joypad_axis.search_all(line);
			for (int i = 0; i < reg_match.size(); ++i) {
				Ref<RegExMatch> match = reg_match[i];
				PackedStringArray strings = match->get_strings();
				String axis_entry = strings[0];
				int axis_value = strings[1].to_int();
				if (axis_value == 6) {
					found_renames.append(line_formatter(current_line, axis_entry, ",\"axis\":4", line));
				} else if (axis_value == 7) {
					found_renames.append(line_formatter(current_line, axis_entry, ",\"axis\":5", line));
				}
			}
			current_line++;
		}
	}
	return found_renames;
}
Vector<String> ProjectConverter3To4::check_for_rename_input_map_scancode(Vector<String> &lines, const RegExContainer &reg_container) {