Dark chocolate has anti-inflammatory cocoa flavanols as well as some resveratrol and magnesium both of which have anti-inflammatory effects. Dark chocolate with higher cocoa percentages provide more flavanols and usually have less sugar.
Sources