# Line By Line Commenting

With our Line By Line Commenting feature, you can now easily add comments to your code so others can easily understand your thought process and build upon it. If you are a student and just starting to get into coding, whenever you encounter a code snippet that is hard to understand syntactically or has a complex algorithm you can now easily add comments to it so you can understand what it does.

### Step 1 :

Log in first with Google Authentication in Kodezi.

<figure><img src="/files/sBFAeQYa8JQh8o22tLtU" alt=""><figcaption></figcaption></figure>

### Step 2 :

After signing in successfully, click on Generate Documentation button.

<figure><img src="/files/OWz83UYPyx6RWliAb1Yg" alt=""><figcaption></figcaption></figure>

### Step 3 :

Now inside the Generate Documentation UI. Select the Line By Line Commenting then click on Generate button.

<figure><img src="/files/iXCKLW2doRzRIEBtoHIp" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Kodezi does not support extremely large sections of code, so you may have to select a block of code for Line by Line commenting if guided to do so.
{% endhint %}

### Step 4 :

After clicking on Generate button, the document-generating process will start.

<figure><img src="/files/WhLQJerYKMxAfvQWs0hJ" alt=""><figcaption></figcaption></figure>

### Step 5 :

You will see results similar to these in your IDE once the document-generating process is finished.

<figure><img src="/files/NsJLiqQh9fGdbsaqE7a6" alt=""><figcaption></figcaption></figure>

### Step 6 :

Now you can simply click on the apply button for the result will add to your original file.&#x20;


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.kodezi.com/feature-guides/generate-documents/line-by-line-commenting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
