Is it possible to anchor a comment to a layer instead of a page?

Is it possible to anchor a comment to a layer (rectangle, path, text, graphics, component, etc) instead of it being anchored to a page? What I want is for the comment to move along with the layer it’s anchored to.