### Godot version

v4.1.1.stable.official [bd6af8e0e]

### System information

v4.1.1.stable.official [bd6af8e0e]

### Issue description

In-script documentation (`##`) for `signal` members is not appearing in the _Node_ tab as expected.  Other documentation appears to work correctly in the _Inspector_ tab.

Working example (exported variable):
![GodotDocumentationWorking](https://github.com/godotengine/godot/assets/13528480/ab9b19d4-c9f7-4658-8379-f2c2699310b8)

Non-working example (`signal`)
![GodotDocumentationNotWorking](https://github.com/godotengine/godot/assets/13528480/06824f6a-b135-4454-a06e-7c6feb34060b)

I have tried deselecting and reselecting the associated Node, changing between the tabs on the left pane, changing active scripts and even restarting Godot - nothing makes it work.  According to the [GScript Documentation on Documentation Comments](https://docs.godotengine.org/en/stable/tutorials/scripting/gdscript/gdscript_documentation_comments.html), this **should** work, right?  Or is there something completely obvious that I am missing?


### Steps to reproduce

1. In Godot, create a new Node of type `Node`
2. Attach a new script to this Node, accepting all current defaults
3. In the script editor create a `signal` called `Foo` and right above it, create a `##` comment for it
4. Also create an `@export`ed integer variable called `Bar` and also create a `##` comment for it
5. Unselect and reselect the Node in the _Scene_ tab to refresh the _Inspector_ and _Node_ tabs
6. Hover over the variable in the _Inspector_ tab and see that the added description is shown correctly
7. Hover over the signal in the _Node_ tab and see that the added description is **not** shown and "_No description._" is shown instead

This is an example of the script that could be added:
```
## This is signal foo!
signal Foo

## This is exported signal bar!
@export var Bar : int = 0
```

### Minimal reproduction project

N/A
int line = inherited_scr->get_language()->find_function(cd.method, inherited_scr->get_source_code());
			if (line != -1) {
				found_inherited_function = true;
				break;
			}
			inherited_scr = inherited_scr->get_base_script();
		}
		add_script_function = !found_inherited_function;
	}
	if (connect_dialog->is_editing()) {
		_disconnect(connect_dialog->get_source_connection_data());
		_connect(cd);
	} else {
		_connect(cd);
	}
	if (add_script_function) {
		PackedStringArray script_function_args = connect_dialog->get_signal_args();
		script_function_args.resize(script_function_args.size() - cd.unbinds);
		for (int i = 0; i < cd.binds.size(); i++) {
			script_function_args.push_back("extra_arg_" + itos(i) + ":" + Variant::get_type_name(cd.binds[i].get_type()));
		}
		EditorNode::get_singleton()->emit_signal(SNAME("script_add_function_request"), target, cd.method, script_function_args);
		hide();
	}
	update_tree();
}
/*
 * Creates single connection w/ undo-redo functionality.
 */
void ConnectionsDock::_connect(const ConnectDialog::ConnectionData &p_cd) {