Changing the legacy alerting mechanism

Good afternoon, I am currently using Grafana 10.3.1. I use legacy alerting in it. So, there is a question. You can use text labels in this message. To receive such a message in advance

Instance: ${instance.name }

If in instance.name they changed slightly during the alarm, but Grafana sends an alert in this format:

Instance: instance1, instance2, instance3, etc.

How to use this mechanism so that Graphana disables the notification in this format

instance: instance1
instance2
instance3
etc.

Help please