Interesting.
I believe, but cannot prove, that dark chocolate is a cough suppressant. Dark meaning bittersweet, 70%+ chocolate.
I had whooping cough (as an adult). Theo Chocolate seemed to help take the edge off. Probably just placebo or self-soothing or whatever. But ever since, dark chocolate is part of my remedy regiment whenever I have a respiratory issue.
Per this paper, if I'm onto something, maybe the flavanols also relax other muscles, bronchia, or whatever, too.