The salmonella you get from undercooked chicken is less dangerous than the parasites in under cooked pork.
If we compare contaminated meat, okay, maybe pork is more dangerous. If we compare what people actually encounter, pork appears much less dangerous.