For a more mature audience in the 90s than seems to be the case generally nowadays, it would be viewed as Garibaldi making the comparison -- not the script writer, the script editor, the director, nor JMS. The metacontext is Garibaldi making a sarcastic comment to Sinclair, who likely understands that Garibaldi sometimes make ill-judged, non-PC remarks. I don't recall if Sinclair makes a reaction such as rolling his eyes or raising his eyebrow at Garibaldi's remark but he's probably just glad that Garibaldi doesn't air such views more publicly. In my experience, some people make comments like this all the time without being otherwise overtly antisemitic. It's probably for the best that such dialogue wouldn't get broadcast in contemporary drama as some in the audience apparently lack the mental skills that are required to filter out harmful memes.