I’m not sure what the effect of double slashes are inside a pattern (maybe they’re cleaned to the equivalent single slash?) but according the docs it should not be interpreted as a comment, no.
Edit: looks like double slash will match only a double slash, i.e, not match anything at all since there won’t be any double slashes in a normal path name.
Spaces yes but slashes no… That said, it seems like a possible typo so having foo/bar//baz/quux be a failure (no match) seems better to me than having it silently matching all of foo/bar because the rest suddenly became a comment.
In either case, it pretty much is what it is at this point, I see no pressing reason to change it.