hmmm... I've changed position on this a few times.
Sincere hugs are acceptable. Some people give hugs as a way of getting attention or worse as a way of falsely implying sincerity. I decline hugs from people whenever it is not apparent what thier intentions are, that's my right, and ends up making them uncomfortable which is fine with me.