### Godot version

3b086aa06

### System information

ArchLinux x11

### Issue description

```gdscript
extends Node

@export_group("My Properties")
@export var number = 3
@export var string = ""

@export_group("Prefixed Properties", "prefix_")
@export var prefix_number = 3
@export var prefix_string = ""

@export_group("", "")
@export var ungrouped_number = 3
```

![image](https://user-images.githubusercontent.com/70787919/214983963-528c415b-745b-47fc-9777-36ebe31a3060.png)


### Steps to reproduce

- create script
- @export_group
- go inspector

### Minimal reproduction project

‮
head = alloc_node<ClassNode>();
	head->fqcn = script_path;
	current_class = head;
	bool can_have_class_or_extends = true;
	while (match(GDScriptTokenizer::Token::ANNOTATION)) {
		AnnotationNode *annotation = parse_annotation(AnnotationInfo::SCRIPT | AnnotationInfo::STANDALONE | AnnotationInfo::CLASS_LEVEL);
		if (annotation != nullptr) {
			if (annotation->applies_to(AnnotationInfo::SCRIPT)) {
				head->annotations.push_back(annotation);
			} else {
				annotation_stack.push_back(annotation);
				
				
				
				can_have_class_or_extends = false;
				break;
			}