That's a good question.
Using "Windows Search Syntax" you can perform all sorts of advanced searches. For example, in the search box you could include "kind:folder" and then only folders matching your criteria will be displayed. You can also select these options via the "search options" in the File Explorer GUI. What's odd is that I know that you should be able to also add "attributes:hidden" but this does not seem to work. You can tell that File Explorer recognizes these keywords because as you type "attributes:" you will see the color change indicating a recognized keyword. Likewise, once you finish and add the word "hidden" you will see that it too changes color. However, it simply does not work.
Bottom line is that I cannot tell you how to do this in File Explorer, but I can tell you how to do this from a command line.
Try this:
DIR /ADH
The /A tells dir to display items matching the specified attributes. The "D" tells it to show only directories, the "H" tells it to display items that are hidden. Combined, this tells dir to show hidden directories only. To include subdirectories, add a /S like this:
DIR /ADH /S
Finally, consider adding a /B to show the output in "bare" format without all the annoying header info like this:
DIR /ADH /S /B
I hope that this helps and that someone else can maybe provide a way to do this in File Explorer.