Annotation limit option when using loki datasource

Is there any way to set a limit on the annotations to show when using a loki datasource?
Something like the option available when selecting --Grafana-- datasource?
image

I have also tried setting a limit or maxLines attribute directly editing the JSON model, but it does not have any effect.

Without a limit, some queries could hang the UI due to a huge number of annotations being rendered.

As a workaround we could configure another loki datasource with a fixed limit, but it would be great to limit the query results returned by the LogQL query or the number of annotations rendered.

Thanks!