diff --git a/SharpKeys/Dialog_Main.cs b/SharpKeys/Dialog_Main.cs index 858c369..c7fd7f7 100644 --- a/SharpKeys/Dialog_Main.cs +++ b/SharpKeys/Dialog_Main.cs @@ -877,6 +877,9 @@ private bool ReadHashKeysFromFile(string pathToKeysFile) foreach (string line in lines) { + if (line.TrimStart().StartsWith("//")) + continue; // skipping a comment + string[] items = line.Split(new char[]{','}, 2); if (items.GetLength(0) == 2) {