Ignore Twig's variable and transform it to Polymer's variable.
You forgot to remove the outer single quotes in your first example

&lt;iron-media-query query="(min-width: 600px)" query-matches="{{'{{queryMatches}}'}}"&gt;


Try the raw filter if that doesnt work. More info on it here