---
title: CommentInformation type | Wartiva GraphQL API
description: Comment represents an xtables extension that adds an arbitrary text comment to a rule. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/comment-information.html
updated: 2026-10-07
---

Endpoint configuration · GraphQL type

# `CommentInformation` type

Comment represents an xtables extension that adds an arbitrary text comment to a rule. Comments are ignored by the kernel but are valuable for documentation and readability of complex rule sets.

## Fields

| Field Name | Description |
|---|---|
| `comment` - [`String!`](https://wartiva.com/api-docs/types/string.html) | The descriptive text of the comment. |

## Used by

- [`XtablesInfo`](https://wartiva.com/api-docs/types/xtables-info.html) union: Xtables information union type.

## Example

### Example

```json
{"comment": "xyz789"}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
