# Quick Comment Code

**URL:** <https://techcommunity.softwareag.com/t/quick-comment-code/101558>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes, Natural-on-Windows-Unix\
**Created:** [October 11, 2012, 4:26pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558 "2012-10-11T16:26:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JB\_Newbie](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/jb_newbie/32/537_2.png) [@JB\_Newbie](https://techcommunity.softwareag.com/u/JB_Newbie)\
**Post date:** [October 11, 2012, 4:26pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/1 "2012-10-11T16:26:12Z")

</div>

Is there a “quick” way to comment out a huge block of code?

I know you can do line by line –

- USER COMMENT  
\*\* USER COMMENT  
/\* USER COMMENT

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat627unx/pg/pg\_furth\_ucom.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat627unx/pg/pg_furth_ucom.htm)

Say you have 20 lines you want to comment out the entire block quickly.

Is it possible?

---

<div class="post-metadata">

**Author:** ![Nikolay\_Kuhta](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nikolay\_Kuhta](https://techcommunity.softwareag.com/u/Nikolay_Kuhta)\
**Post date:** [October 11, 2012, 5:29pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/2 "2012-10-11T17:29:10Z")

</div>

Well, if you are in SPOD, click on EDIT → Advanced → Add Comment Mark(s)

Best regards.

---

<div class="post-metadata">

**Author:** ![JB\_Newbie](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/jb_newbie/32/537_2.png) [@JB\_Newbie](https://techcommunity.softwareag.com/u/JB_Newbie)\
**Post date:** [October 11, 2012, 6:32pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/3 "2012-10-11T18:32:33Z")

</div>

Apparently I am not… What is SPOD? (sorry…) :shock:

---

<div class="post-metadata">

**Author:** ![Nikolay\_Kuhta](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nikolay\_Kuhta](https://techcommunity.softwareag.com/u/Nikolay_Kuhta)\
**Post date:** [October 11, 2012, 7:41pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/4 "2012-10-11T19:41:37Z")

</div>

Sorry, it was rather my fault 🙂  
Well, this is about SPOD:  
Natural SPoD Architecture  
[techcommunity.softwareag.com/ecosystem/documentation/natural/.../spod\_arc\_ove](http://techcommunity.softwareag.com/ecosystem/documentation/natural/.../spod_arc_ove)… - United States  
This section describes the system architecture of Natural’s Single Point of Development (SPoD)

[http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf/arc/spod\_arc\_overview.htm](http://techcommunity.softwareag.com/ecosystem/documentation/natural/nat426mf/arc/spod_arc_overview.htm)

---

<div class="post-metadata">

**Author:** ![Nikolay\_Kuhta](https://avatars.discourse-cdn.com/v4/letter/n/35a633/32.png) [@Nikolay\_Kuhta](https://techcommunity.softwareag.com/u/Nikolay_Kuhta)\
**Post date:** [October 11, 2012, 7:44pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/5 "2012-10-11T19:44:08Z")

</div>

To be more precise, I was referring to the Editor’s features of Software AG Natural Studio

---

<div class="post-metadata">

**Author:** ![Matthias1](https://avatars.discourse-cdn.com/v4/letter/m/9fc348/32.png) [@Matthias1](https://techcommunity.softwareag.com/u/Matthias1)\
**Post date:** [October 12, 2012, 12:43pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/6 "2012-10-12T12:43:45Z")

</div>

AFAIK there is no syntax for a multiline comment.

So, the Editor has to do the job. e.g. on Natural for windows:

1. mark block
2. Ctrl+m

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:02pm UTC](https://techcommunity.softwareag.com/t/quick-comment-code/101558/7 "2021-04-02T15:02:29Z")

</div>


