etiqueta html interior razor etiqueta

You could use @: to escape:
@if(Model.foo)
{
    @:Hello World
}
ekkamrit