[dist] conditional comments / middleware