By referencing the mako doc, there is no way to do someting like escaping for that.
But, using ${'##'} to replace ## is helpful.