Iron Man's fate in Infinity War comics is not always the same. Sometimes he survives, but in some renditions, he does meet his end. It all depends on the particular comic and its plot developments.
Iron Man remained alive in the Infinity War comic. Keep in mind that comic adaptations to movies sometimes make significant changes to the original storylines and character outcomes.
Spider-Man doesn't meet his demise in the Infinity War comics. The plot unfolds in a way that ensures his presence throughout and beyond this particular storyline.
In the Infinity War comic, Spider-Man survives. The comic plotlines have their own unique twists and turns, and his character continues to play an important role throughout.