Everyone is different and their BG is affected differently.
Chocolate, as with most food with carbs, will raise BG.
However, how much and when will depend on how many carbs are in the food, how much you eat and how much fat is in the chocolate (chocolate contains a lot of fat which slows down the carb absorption).
Many people find a small amount (a couple of squares) of dark chocolate is ok as a treat.