Add logic comment tests.
diff --git a/test/pattern/logic_comment.stmt b/test/pattern/logic_comment.stmt
new file mode 100644
index 0000000..b28f72b
--- /dev/null
+++ b/test/pattern/logic_comment.stmt
@@ -0,0 +1,49 @@
+40 columns                              |
+>>> Before first logical pattern operand.
+if (obj case // c
+pattern || otherPattern) {;}
+<<<
+if (obj
+    case // c
+        pattern || otherPattern) {
+  ;
+}
+>>> Before first nested logical pattern operand.
+if (obj case pattern || // c
+otherPattern && thirdLongPattern) {;}
+<<<
+if (obj
+    case pattern || // c
+        otherPattern &&
+            thirdLongPattern) {
+  ;
+}
+>>> After left logical operand.
+if (obj case pattern // c
+|| otherPattern) {;}
+<<<
+if (obj
+    case pattern // c
+        ||
+        otherPattern) {
+  ;
+}
+>>> After operator in logical pattern.
+if (obj case pattern || // c
+otherPattern) {;}
+<<<
+if (obj
+    case pattern || // c
+        otherPattern) {
+  ;
+}
+>>> After right operand in logical pattern.
+if (obj case somePattern || otherPattern // c
+) {;}
+<<<
+if (obj
+    case somePattern ||
+        otherPattern // c
+        ) {
+  ;
+}