What is universally accepted is that the value shown for a continuous time impulse represents the area within it and not its actual height (its actual height is infinite, and the area is the integration over that zero range). This is the case for B but that isn't properly represented by A, as the area added by the continuous function over this same range is 0, so the represented impulse should not have a larger value. That alone makes A incorrect: as drawn without any other indication of the impulses scale (area), it represents an impulse with an area of 2.5, but we know from the math given that the area of that particular impulse is still 1.
That said what is typical is for the unit impulse to be drawn with a value next to it indicating its area (which can and often is a complex quantity). This wouldn’t add in area to any continuous function; so whatever convention is used should appear the same as if we drew the impulse with or without the other function added.