I'm not a vampire, so yeah. But even with the knowledge that these 'candy' are actually onions. i still don't find it funny.
Uh, kid comes trick-or-treating, you give him something he thinks is candied apples, he bites it, and gets a mouthful of onion. Why is that not funny?
Oh and vampires are scared of garlic, not onion.