Marx was not raised as Jewish; he never considered himself Jewish; and he railed against Jews and Judaism in his writings, especially in his antisemitic essay “On the Jewish Question.” He was certainly of Jewish ancestry, but calling him a “Jew” is something Hitler did.
If he was a positive historical figure, you would have a difficult time proving that he wasn’t Jewish, in fact, you would be attacked for denying it.