My initial thought would be it's dead tissue (which turns black), in which case, I don't think it's healthy for it to be there. Especially if this is 3 weeks after the surgery, I wonder if there's something underneath the sutures that may not be going as planned. Have you called the vet about this? I think your photo would help provide a good idea to the vet.