diff --git a/SharpKeys/Dialog_Main.cs b/SharpKeys/Dialog_Main.cs index 34d4e23..13e7711 100644 --- a/SharpKeys/Dialog_Main.cs +++ b/SharpKeys/Dialog_Main.cs @@ -850,6 +850,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) {