Add check for simple condition simplifying:
Ex: `<?if($CODE$)?>$CODE$<?endif?>` is the same as just write `$CODE$`.
Simplify condition in comment partial.