jesse220 said:
Social commentary is done through analogy/allegory all the time., I would say more often than not.
Certainly...one of the more obvious examples being that episode of Star Trek where the people who were white on one side and black on the other are fighting the people who are the other way around.
That episode could get away with it because they had a diverse group of human characters.
Using analogy to make social commentary about diversity is fine. Doing that while making sure not to actually have any doesn't work.
Personally, I'd have liked to have seen more diversity in the film, as not-European fantasies films end up looking much the same, though this is the fault of Tolkien's endless tiresome imitators. I think it might have worked better to have the elves and dwarves as different ethnic groups from the humans.
But if they don't do that, then they don't do that, whatever. But to turn around afterwards and make a play at saying something about racism...no.