IPsec Policy/Peer - No comment parameter, item?

I’m trying to develop a script to manage IPSec tunnels, but it does not appear that the IPsec Policty nor the IPsec Peer settings allow for a comment, so I can’t figure out a way to disguish the line I’m tyring to change.
IE. /ip ipsec policy set [/ip ipsec policy find comment=x] x=y]
Is there a way to do it by the item number for the pr command. Or any other thoughts.
Thanks,