Try a stroke on scrap cardboard. Look for a single bristle sticking out beyond the brush’s edge on the same side as the stray line.

AI-generated photo illustration: a bristle extending beyond the brush edge leaves a second fine line.
Illustration source: AI-generated photo illustration created for Life 1122 Foundation. Generated image; no third-party photographer or license.
With the brush clean, dampen and smooth the bristles into their usual shape using the care directions for that brush. Let it dry with the tips protected from pressure.
Test it on scrap again before painting an edge. If the line returns, save that brush for broad areas and choose a brush with a straight edge for trim.