# Comments

This submenu allows you to manipulate different kinds of comments. Use them to make the disassembled text more understandable.

* [Create a regular comment](#create-a-regular-comment)
* [Create repeatable comments](#create-a-repeatable-comment)
* [Create additional comment lines](#create-additional-comment-lines)

### Create a regular comment

```
 Action    name: MakeComment
 
```

If you stand at the function start and your cursor is on a function name, IDA will ask you to enter a function comment.

If you stand at the segment start and your cursor is on a segment name, IDA will ask you to enter a segment comment.

If this command is issued in the [local types window](../../view/open-subviews#local-types-window), it allows you to change the comment of a structure/enum, or structure/enum member. If the cursor is on the structure/enum name, the structure/enum comment will be changed, otherwise the member comment will be changed.

Otherwise, this command allows you to enter a normal indented comment for the current item.

You can show/hide all comments in [Comments Dialog](../../options#comments-dialog).

See also

* How to use the [notepad](../../../disassembler/navigation/how-to-enter-text)
* [Edit|Comments](comments) submenu, [Repeatable comments](#create-a-repeatable-comment)

### Create a repeatable comment

```
 Action    name: MakeRptCmt
 
```

This command allows you to enter a repeatable comment. A repeatable comment will appear attached to the current item and all other items referencing it.

If you stand at the function start, IDA will ask you to enter a function comment.

If this command is issued in the [local types window](../../view/open-subviews#local-types-window), it allows you to change the comment of a structure/enum, or structure/enum member. If the cursor is on the structure/enum name, the structure/enum comment will be changed, otherwise the member comment will be changed.

Otherwise, this command allows you to enter a repeatable comment for the current item.

You cannot enter repeatable segment comments.

All items that refer to the current item will have this comment by default.

Note that if you have defined both comment types ([regular](#create-a-regular-comment) and repeatable), the regular comment will be displayed for the current item and the repeatable comment will be displayed for all items that refer to the current item, if they do not have their own comments.

The repeatable comments may be used to describe subroutines, data items, etc., because all calls to the subroutine will have the repeatable comment.

You can show/hide all comments in the [Comments Dialog](../../options#comments-dialog).

You can show and hide repeatable comments in the [Comments Dialog](../../options#comments-dialog).

See also "How to use the [notepad](../../../disassembler/navigation/how-to-enter-text)".

### Create additional comment lines

```
Action                 Name
 ------                 ----
 edit anterior lines    MakeExtraLineA
 edit posterior lines   MakeExtraLineB
```

If you want to enter multi-line comments or additional instructions, you can use this feature of IDA.

There are two kinds of extra lines: the ones generated before the instruction line and the ones generated after the instruction line.

Do not forget that the maximal number of lines for an item is 500.

IDA does not insert a comment symbol at the beginning of the lines.

See also "How to use the [notepad](../../../disassembler/navigation/how-to-enter-text)".

Related topics: [Edit](https://github.com/HexRaysSA/docs/blob/main/user-guide/user-interface/menu-bar/edit/edit.md) submenu.
