You don't need the whitespace since you're inside of a code block:
<pre>
```json
# This is good
    # This is bad
```
</pre>