{
	"comments": {
		"lineComment": "%",
		"blockComment": [ "\n%{\n", "\n%}\n" ]
	},
	"brackets": [
		["{", "}"],
		["[", "]"],
		["(", ")"]
	],
    "autoClosingPairs": [
        ["{", "}"],
        ["[", "]"],
        ["(", ")"],
        ["\"", "\""],
        ["'", "'"]
    ],
    "surroundingPairs": [
        ["{", "}"],
        ["[", "]"],
        ["(", ")"],
        ["\"", "\""],
        ["'", "'"]
	],
	"folding": {
		"markers": {
			"start": "^\\s*%%",
			"end": "^\\s*%%"
		}
	},
	"indentationRules": {
		"increaseIndentPattern": "^\\s*\\b(function|if|else|elseif|switch|case|otherwise|for|parfor|while|try|catch|unwind_protect|properties|methods|enumeration|events|arguments)\\b",
		"decreaseIndentPattern": "^\\s*\\b(end\\w*|catch|else|elseif|case|otherwise)\\b"
	}
}

{
	"comments": {
		"lineComment": "%",
		"blockComment": [ "\n%{\n", "\n%}\n" ]
	},
	"brackets": [
		["{", "}"],
		["[", "]"],
		["(", ")"]
	],
    "autoClosingPairs": [
        ["{", "}"],
        ["[", "]"],
        ["(", ")"],
        ["\"", "\""],
        ["'", "'"]
    ],
    "surroundingPairs": [
        ["{", "}"],
        ["[", "]"],
        ["(", ")"],
        ["\"", "\""],
        ["'", "'"]
	],
	"folding": {
		"markers": {
			"start": "^\\s*%%|^\\s*%\\s*region",
			"end": "^\\s*%%|^\\s*%\\s*end\\s?region"
		}
	},
	"indentationRules": {
		"increaseIndentPattern": "^\\s*\\b(function|if|else|elseif|switch|case|otherwise|for|parfor|while|try|catch|unwind_protect|properties|methods|enumeration|events|arguments)\\b",
		"decreaseIndentPattern": "^\\s*\\b(end\\w*|catch|else|elseif|case|otherwise)\\b"
	}
}

Add region / end region comment folding
Add region / end region comment folding

Add region and end region comment folding