Matchbox?

Is it dangerous if the friction surface of a matchbox is burning and you inhale the smoke? I was just about to light the grill, and the matchbox is in the grill, and I inhaled smoke from the friction surface. Is that bad, because it's completely different from normal smoke; it smells really weird…