Ignore hidden files and folders

Is there any way to make Syncthing ignore all hidden files and subfolders when sharing a folder? I guess on Linux an ignore pattern of .* would work (?) but I’d need it to work on Windows as well.

https://docs.syncthing.net/users/ignoring.html

I might just not be seeing it, but that page only seems to be about matching filenames. That might be okay on Linux where files are hidden by a . prefix, but Windows uses an attribute bit to do the same thing.

No, there is no way.