One way is to air them out in a well-ventilated area for a few days. The fresh air can help get rid of the smell. Also, using activated charcoal pouches near the comics can do the trick as it's good at absorbing odors.
You can try placing the comics in a box with baking soda. The baking soda can absorb the smoke smell over time.