Hi Rani, if I was going to do that I’d place it between the biggest concentration of bees. By doing that, the bees will get stuck straight into it & clean it up quicker rather than later. What I would do is remove the frame with the least amount of bees on it, then move frames into that position so as to create a gap where the highest concentration of bees are.
For me that would be in a honey super. Then I’m not risking killing a queen to save a frame of comb.
You could do something similar with the frame if you were to render the wax before fitting fresh foundation. Place it in between the largest concentration of bees. In the time it takes for the bees to clean up that frame, they could have fresh foundation half drawn out. Then you’re not introducing the wax moth into the hive. I’m almost certain that those little dark brown bits are wax moth poo.