diff --git a/py/makeqstrdata.py b/py/makeqstrdata.py
index c00ec1eb28fcd487b24af76f1aee217986b7d526..8a3136b1f18f750c237cf9775ed24aaa6ed0ac45 100644
--- a/py/makeqstrdata.py
+++ b/py/makeqstrdata.py
@@ -116,7 +116,7 @@ def parse_input_headers(infiles):
 
 def make_bytes(cfg_bytes_len, cfg_bytes_hash, qstr):
     qhash = compute_hash(qstr, cfg_bytes_hash)
-    if all(32 <= ord(c) <= 126 and c != '\\' for c in qstr):
+    if all(32 <= ord(c) <= 126 and c != '\\' and c != '"' for c in qstr):
         # qstr is all printable ASCII so render it as-is (for easier debugging)
         qlen = len(qstr)
         qdata = qstr