If it really is the grout and not just surface muck then a bit of sand paper folded in 2 and run down the joint will remove a bit of grout and clean it up, don’t do it often though as obviously you’re removing a layer of grout everytime.
If it is right into the grout then raking out and regrouting is the only way as the mold lives on the trace elements of starch in the grout and will be present right through it. Same for silicone, if right through as opposed to a bit on the surface, knife it out, clean it up then apply new sanitary grade silicone to DRY (very important) surfaces.
Don’t over grout or over silicone, you’re wasting your time and money.