title: html conditional compilation is turned off in MVC C#
body: <p>I wrote this function </p>
  
  <pre><code> &lt;script type="text/javascript"&gt;
      function saveDelivery() {
         alert("tttt")
         var model = @Html.Raw(Json.Encode(Model)); //errror
         $.ajax({
  
             type: 'POST',
  
             url: '@Url.Action("SaveDelivery", "Business")',
             contentType: 'application/json; charset=utf-8',
             data: JSON.serialize(model),
             success: function (result) {                                  
             },
             error: function (xhr, ajaxOptions, thrownError) {
                 alert(xhr.status);
                 alert(thrownError);
            }
        });
  
    }    
  </code></pre>
  
  <p></p>
  
  <p>but there is error on </p>
  
  <pre><code>var model = @Html.Raw(Json.Encode(Model));
  </code></pre>
  
  <p>it says <code>conditional compilation is turned off</code>
  How to slove this?</p>