The answers to your other question cover this. The bitcoin-cli has documentation you can read to find out the answer to your question. Some actions, that are possible in principle, may not be supported by the software you are using. – RedGrittyBrick – 2018-10-05T09:51:48.117
Duplicate? Labels and comments are separate fields... Duplicate of my own question? – daygle – 2018-10-05T03:43:56.927
Labels are for addresses, not transactions https://bitcoin.org/en/release/v0.17.0#label-and-account-apis-for-wallet. It's unclear what you mean by comment and how that's different than a label.
– JBaczuk – 2018-10-05T04:58:34.630The answers to your other question cover this. The bitcoin-cli has documentation you can read to find out the answer to your question. Some actions, that are possible in principle, may not be supported by the software you are using. – RedGrittyBrick – 2018-10-05T09:51:48.117