common: fix for when [] is in comment