Cyclists are allowed to stop on double-yellow lines. Again, drivers may be unaware of this.
As are cars…
Drivers are obliged by the Highway Code (Rule 139) to give you ‘at least as much room as a car’ when overtaking. Let that sink in: at least as much room as a car. That means that they should pull out, cross the central, dashed white line, and pull in again.
By riding further out from the edge of the road, you force following traffic to overtake you properly instead of squeezing past dangerously close. Are you inconveniencing anyone? Only those drivers who would not have overtaken you safely in the first place.
As a rule of thumb, your distance from the kerb is the same distances that drivers will give you when overtaking. That bits talks sense.