title: .NET Core - JSonReaderException Error reading Jobject from JsonReader
body: <p>I'm developing an application with the ASP.NET core Framework and Visual Studio keeps coming up with the error message: </p>
  
  <blockquote>
    <p><strong>System.FormatException:</strong> "Could not parse the JSON file. Error on line number '10':*/'." JsonReaderException: Error reading JObject from
    JsonReader. Current JsonReader item is not an object: Comment. Path ",
    line 10, position 2.</p>
  </blockquote>
  
  <p>The error occurs when I run the application and it tries to call the function <code>CreateWebHostBuilder(args).Build().Run();</code></p>
  
  <pre><code>public class Program
  {
      public static void Main(string[] args)
      {
          CreateWebHostBuilder(args).Build().Run();
      }
  
      public static IWebHostBuilder CreateWebHostBuilder(string[] args) =&gt;
          WebHost.CreateDefaultBuilder(args)
              .UseStartup&lt;Startup&gt;();        
  }
  </code></pre>
  
  <p>That's strange, because I did not modify any Json-files and when using another device (laptop for mobile developing) on the same git-commit I do not get any error messages. </p>
  
  <p>Does anybody maybe know which file the error message is referring to? I would really like to fix this on this specific machine...</p>
  
  <p>This is the appsettings.json file:</p>
  
  <pre><code>{
     "ConnectionStrings":{
        "DefaultConnection":"Filename=./../database_02.db"
     },
     "Logging":{
        "LogLevel":{
           "Default":"Warning"
        }
     },
     "AllowedHosts":"*"
  }
  </code></pre>