# Commenting out a block of code

**URL:** <https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840>\
**Category:** Ignition\
**Created:** [January 10, 2012, 10:06pm UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840 "2012-01-10T22:06:24Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [October 4, 2023, 2:44pm UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840/21 "2023-10-04T14:44:11Z")

</div>

> [@pascal.fragnoud](#):
>
> yet another layout

No layout switching with compose.

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [October 4, 2023, 2:46pm UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840/22 "2023-10-04T14:46:58Z")

</div>

But the accents may not be on the key I'm used to.  
also, "/method" ;p

I'll take a look at how it works, see if I can get used to it easily enough, and if it's more convenient than the international layout.

---

<div class="post-metadata">

**Author:** ![Daniele\_Belardinelli](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@Daniele\_Belardinelli](https://forum.inductiveautomation.com/u/Daniele_Belardinelli)\
**Post date:** [October 5, 2023, 9:14am UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840/23 "2023-10-05T09:14:02Z")

</div>

i'm on QWERY layout on 1.1.30 Designer version and it doesn't work.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [October 5, 2023, 10:04am UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840/24 "2023-10-05T10:04:41Z")

</div>

> [@Daniele\_Belardinelli](#):
>
> ... and it doesn't work.

What doesn't work? Please be clear. Describe what you did, what you expected and what you got.

---

<div class="post-metadata">

**Author:** ![Daniele\_Belardinelli](https://avatars.discourse-cdn.com/v4/letter/d/bc79bd/32.png) [@Daniele\_Belardinelli](https://forum.inductiveautomation.com/u/Daniele_Belardinelli)\
**Post date:** [October 5, 2023, 10:07am UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840/25 "2023-10-05T10:07:08Z")

</div>

the key combination ctrl + / to comment multiple lines

---

<div class="post-metadata">

**Author:** ![RodrigoR](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@RodrigoR](https://forum.inductiveautomation.com/u/RodrigoR)\
**Post date:** [March 26, 2025, 11:42am UTC](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840/26 "2025-03-26T11:42:09Z")

</div>

I tested this in Ignition **8.1.45** and **8.1.47** , but the **Ctrl + /** shortcut doesn’t comment multiple lines—it folds all the code instead.

Additionally, the **Ctrl + .** shortcut for code folding/unfolding, as mentioned in the documentation, doesn’t work either.

I’m using a **QUERY** keyboard layout.

[Previous page](https://forum.inductiveautomation.com/t/commenting-out-a-block-of-code/3840.md?page=1)
