Miss Manners: I thought wearing all black was proper dress for anyone at a funeral

A friend told me that it is pretentious to dress in all black when the deceased is not a close friend or family member.