Msternal comfort takes place between turns. So if you faint as a result of an atack, you are not saved. If you are poisoned which takes place between turns or something similar to that effect, you resolve all effects that happen between turns. Then you check for kos.