### Godot version

4.1.rc2.mono.official

### System information

Godot v4.1.rc2.mono - EndeavourOS #1 SMP PREEMPT_DYNAMIC Thu, 11 May 2023 16:40:42 +0000 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 4400 (HSW GT2) () - Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz (4 Threads)

### Issue description

When using [GDScript documentation comments](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_documentation_comments.html) to create description tooltips for [@export variables](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_exports.html), they do not show up in the editor if:

- The export variable requires arguments (eg. [@export_enum](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_exports.html#exporting-enums)), and the arguments are declared across more than 2 lines. [(recommended by GDScript style guide)](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_styleguide.html#format-multiline-statements-for-readability)
- A description is applied to an [@export_category](https://docs.godotengine.org/en/stable/classes/class_%40gdscript.html#class-gdscript-annotation-export-category). 
  - This error also applies to all variables within the category

To illustrate, here are some screenshots from the included minimal reproduction project.

![working](https://github.com/godotengine/godot/assets/56048350/5fc45659-7a4d-4744-a7cd-1647497a0c97)

![nonworking_multiline](https://github.com/godotengine/godot/assets/56048350/8c2a1845-ca48-4484-a637-0af3d6b5582d)

![nonworking_category](https://github.com/godotengine/godot/assets/56048350/84ada88f-8a7b-49e7-9a6e-4cb188cc9dae)


### Steps to reproduce

Copy-paste this code into a new node's script. A minimal reproduction project with all this prepared is included below for convenience.

```
extends Node


## This shows up in the editor.
@export_enum("example1", "example2",) var good_enum


## [i]This shows up in the editor, but goes against recommended practices.[/i]
@export_enum(
	"example1", "example2",) var poor_practice_multiline


## THIS DOES NOT SHOW UP IN THE EDITOR.
@export_enum(
	"example1",
	"example2",
) var bad_enum

## THIS DOES NOT SHOW UP IN THE EDITOR.
@export_category("Categories truncate comments")

## THIS DOES NOT SHOW UP IN THE EDITOR.
@export var bad: int
```

### Minimal reproduction project

[tooltip-bug.zip](https://github.com/godotengine/godot/files/11928865/tooltip-bug.zip)

if (!doc_class_name.is_empty()) {
				if (descr_cache.has(doc_class_name)) {
					descr_cache[doc_class_name].clear();
				}
				HashMap<String, DocData::ClassDoc>::ConstIterator F = doc_data->class_list.find(doc_class_name);
				if (F) {
					for (int i = 0; i < F->value.signals.size(); i++) {
						descr_cache[doc_class_name][F->value.signals[i].name] = F->value.signals[i].description;
					}
				} else {
					doc_class_name = String();
				}
			}
			class_icon = editor_data.get_script_icon(script_base);
			if (class_icon.is_null() && has_theme_icon(native_base, SNAME("EditorIcons"))) {
				class_icon = get_theme_icon(native_base, SNAME("EditorIcons"));
			}
			script_base->get_script_signal_list(&class_signals);
			
			Ref<Script> base = script_base->get_base_script();
			if (base.is_valid()) {
				List<MethodInfo> base_signals;
				base->get_script_signal_list(&base_signals);
				HashSet<String> base_signal_names;
				for (List<MethodInfo>::Element *F = base_signals.front(); F; F = F->next()) {
					base_signal_names.insert(F->get().name);
				}
				for (List<MethodInfo>::Element *F = class_signals.front(); F; F = F->next()) {
					if (base_signal_names.has(F->get().name)) {
						class_signals.erase(F);